
with open("/home/turbo/文档/python-project/压缩文件读取/ya.tar.gz", "rb") as f:
    cont = f.read()
    # cont = bytes(cont)
    print(cont)

with open("ya-copy.tar.gz", "wb") as f:
    f.write(cont)
    print("写入完成")
